package com.jz.beijianbao.price.bean;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class PriceUpdate {
    @NotNull(message = "id不能为空")
    private Integer id;
    @NotNull(message = "名称不能为空")
    private String name;
    @NotNull(message = "编号不能为空")
    private String code;
    @NotBlank(message = "状态不能为空")
    private Boolean status;
    @NotNull(message = "备件小类Id不能为空")
    private Integer subClassId;
    @NotNull(message = "计划大类id不能为空")
    private Integer planClassId;
    @NotNull(message = "法人id不能为空")
    private Integer legalPersonId;

    private int version;





}
